package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医生排班对象 doctor_schedules
 *
 * @author ruoyi
 * @date 2025-06-28
 */
public class DoctorSchedules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排班ID */
    private Long id;

    /** 医生ID */
    @Excel(name = "医生ID")
    private Long doctorId;

    /** 排班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleDate;

    /** 上午状态 */
    @Excel(name = "上午状态")
    private String morningStatus;

    /** 上午号源/接诊数 */
    @Excel(name = "上午号源/接诊数")
    private Long morningNum;

    /** 下午状态 */
    @Excel(name = "下午状态")
    private String afternoonStatus;

    /** 下午号源/接诊数 */
    @Excel(name = "下午号源/接诊数")
    private Long afternoonNum;

    private String doctorName;
    private String deptName;
    private java.util.List<SysDoctorSchedule> schedules;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }
    public void setScheduleDate(Date scheduleDate)
    {
        this.scheduleDate = scheduleDate;
    }

    public Date getScheduleDate()
    {
        return scheduleDate;
    }
    public void setMorningStatus(String morningStatus)
    {
        this.morningStatus = morningStatus;
    }

    public String getMorningStatus()
    {
        return morningStatus;
    }
    public void setMorningNum(Long morningNum)
    {
        this.morningNum = morningNum;
    }

    public Long getMorningNum()
    {
        return morningNum;
    }
    public void setAfternoonStatus(String afternoonStatus)
    {
        this.afternoonStatus = afternoonStatus;
    }

    public String getAfternoonStatus()
    {
        return afternoonStatus;
    }
    public void setAfternoonNum(Long afternoonNum)
    {
        this.afternoonNum = afternoonNum;
    }

    public Long getAfternoonNum()
    {
        return afternoonNum;
    }

    public String getDoctorName() {
        return doctorName;
    }
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }
    public String getDeptName() {
        return deptName;
    }
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    public java.util.List<SysDoctorSchedule> getSchedules() {
        return schedules;
    }
    public void setSchedules(java.util.List<SysDoctorSchedule> schedules) {
        this.schedules = schedules;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("doctorId", getDoctorId())
                .append("scheduleDate", getScheduleDate())
                .append("morningStatus", getMorningStatus())
                .append("morningNum", getMorningNum())
                .append("afternoonStatus", getAfternoonStatus())
                .append("afternoonNum", getAfternoonNum())
                .toString();
    }
}
